<template>
  <div class="app-container">
    <el-tabs type="border-card">
      <el-tab-pane v-for="item in dict.type.cust_type">
        <span slot="label"> {{ item.label }}</span>
        <CustomerTable :cust-type="item.value"/>
      </el-tab-pane>
    </el-tabs>
  </div>

</template>

<script>
import CustomerTable from "@/views/financial/customer/customer.vue"

export default {
  name: "Customer",
  dicts: ['cust_type'],
  components: {CustomerTable},
  data() {
    return {};
  },
  created() {
  },
  methods: {}
};
</script>
<style>
.border-card {
  padding: 100px;
}
</style>
